package com.zhengjiang.pattern.demo.decorator;

/**
 * 被装饰的对象 实现功能接口
 */
public class Customer implements PurchaseAction {

    @Override
    public Double cost() {
        return 0.0;
    }

    @Override
    public void show() {
        System.out.println("我是消费者");
    }
}
